package com.taomeng.service;

import com.taomeng.entity.Permission;
import com.taomeng.entity.Role;

import java.util.HashSet;
import java.util.List;
import java.util.Set;

public interface IPermissionService {
    HashSet<Permission> findUserPermissionsByLoginUserId(Long id);

    List<Permission> getAll();

    Set<Permission> findUserPermissionsByUserRoles(List<Role> roles);
}
